package com.zpark.entity;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @PackageName: com.zpark.entity
 * @ClassName: TestPerson
 * @Description:
 * @author: RZS
 * @date: 2023/5/4  17:21
 */
@Component
@Data
public class TestPerson implements Serializable {

    @Value("${person.lastName}")
    private String lastName;
    @Value("${person.age}")
    private Integer age;
    @Value("${person.boss}")
    private boolean boss;
    @Value("${person.birth}")
    private Date birth;

    private Map<String, Object> maps;
    private List<Object> lists;
    private Dog dog;
}
